package org.jeecg.modules.demo.ipds.entity.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "BitItem")
@XmlAccessorType(XmlAccessType.FIELD)
@Data
public class BitListVo {
    private static final long serialVersionUID = 1L;




    /**位名称*/
    @Excel(name = "位名称", width = 15)
    @ApiModelProperty(value = "位名称")
    @JsonProperty("name")
    @XmlAttribute(name = "bitName")
    private java.lang.String bitName;

    /**起始位*/
    @Excel(name = "起始位", width = 15)
    @ApiModelProperty(value = "起始位")
    @XmlAttribute(name = "startBit")
    private java.lang.Integer startBit;
    /**终止位*/
    @Excel(name = "终止位", width = 15)
    @ApiModelProperty(value = "终止位")
    @XmlAttribute(name = "endBit")
    private java.lang.Integer endBit;
    /**位长度*/
    @Excel(name = "位长度", width = 15)
    @ApiModelProperty(value = "位长度")
    @JsonProperty("length")
    @XmlAttribute(name = "bitLength")
    private java.lang.String bitLength;
    /**数值范围*/
    @Excel(name = "数值范围", width = 15)
    @ApiModelProperty(value = "数值范围")
    @XmlAttribute(name = "valueScope")
    private java.lang.String valueScope;
    /**分辨率*/
    @Excel(name = "分辨率", width = 15)
    @ApiModelProperty(value = "分辨率")
    @XmlAttribute(name = "resolutionRatio")
    private java.lang.String resolutionRatio;

    @ApiModelProperty(value = "分辨率最大长度")
    @XmlAttribute(name = "resolutionRatioLength")
    private  Integer resolutionRatioLength;
    /**默认值*/
    @Excel(name = "默认值", width = 15)
    @ApiModelProperty(value = "默认值")
    @XmlAttribute(name = "defaultValue")
    private java.lang.String defaultValue;
    /**单位*/
    @Excel(name = "单位", width = 15)
    @ApiModelProperty(value = "单位")
    @XmlAttribute(name = "unit")
    private java.lang.String unit;
    /**注释*/
    @Excel(name = "注释", width = 15)
    @ApiModelProperty(value = "注释")
    @XmlAttribute(name = "annotation")
    private java.lang.String annotation;


    /**扩展字段*/
    @Excel(name = "扩展字段", width = 15)
    @ApiModelProperty(value = "扩展字段")
    @TableField(typeHandler = JacksonTypeHandler.class)
    @XmlAttribute(name = "extendField")
    private String extendField;

    @Excel(name = "协议树ID", width = 15)
    @ApiModelProperty(value = "协议树ID//位//字节专用")
    private String ipTreeId;

    @Excel(name = "字节id", width = 15)
    @ApiModelProperty(value = "字节id")
    private String byteId;

    @ApiModelProperty(value = "顺序")
    @XmlAttribute(name = "indexSx")
    private Integer indexSx;


}
